package net.threeple.springjdbc.helper;

import java.util.Map;

import com.google.common.base.CharMatcher;

public class SqlStore {
	private Map<String, String> statements;

	public Map<String, String> getStatements() {
		return statements;
	}

	public void setStatements(Map<String, String> statements) {
		this.statements = statements;
	}
	
	public String get(String name) {
		return CharMatcher.WHITESPACE.trimAndCollapseFrom(statements.get(name), ' ');
	}
}
